package com.dearbinge.data.pojo.commodity.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 商品Dto
 *
 * @author wes
 * @date 2019/2/22
 */
@Api
public class CommodityDTO implements Serializable {

    /**
     * 商品id
     */
    @ApiModelProperty("商品id")
    private  Integer commodityId;

    /**
     * 购买数量
     */
    @ApiModelProperty("购买数量")
    private  Integer buyNum;


    public Integer getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Integer commodityId) {
        this.commodityId = commodityId;
    }

    public Integer getBuyNum() {
        return buyNum;
    }

    public void setBuyNum(Integer buyNum) {
        this.buyNum = buyNum;
    }


    @Override
    public String toString() {
        return "CommodityDTO{" +
                "commodityId=" + commodityId +
                ", buyNum=" + buyNum +
                '}';
    }
}
